.message {
  display: flex;
  white-space: nowrap;
  align-items: center;
  justify-content: center;
  background-color: red;
  padding: 8px;
  height: 50px;
  border-radius: 7px;
  box-shadow: 5px 5px 10px #888;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  transform: translate(-50%, -50%) translateY(20px);
  transition: 0.3s;
  opacity: 0;
}
.message-info {
  background: #6b9eee;
}
.message-success {
  background: #7ebf50;
}
.message-warn {
  background: #dc6a12;
}
.message-error {
  background: #cc3600;
}
.icon {
  flex: 0 0 auto;
  font-size: 25px;
  margin-right: 5px;
}
